package com.domain;


//现在存在快递柜中的快递的信息
public class Box_data
{
    String id;          //
    int locker_id;   //具体到每一个柜门，也就是柜门编号，用于查找开具体哪一个柜门
    String place;    //投放位置id，和小区名对应便于查找
    int status_id;   //0正常；1快递柜无信号；2快递柜坏；3快递柜报警（验证码多次错误）；4用户长时未取件，5长时间未取件，并且超过了最大天数，需要人员取出。6长时间未取件快递员也为取件
    int code;     //验证码100000-999999。否则服务器出问题了，快递锁死5分钟。 验证码为空表示无快递
    String phone="";      //无人取件时用于联系发货人
    String staff="";   //用于查询快递柜谁投放的，快递公司查看投放信息
    String otherIfo="";       //运单号码、地址什么的，图像识别，可能不准确
    String name="";       //用户姓名
    String time="";       //存入时间
    String yun_num="";     //运单号；
    String notice="";     //向客户的通知方式以及状态；
    int boxtype;
    String outtime="";//取出时间时间 超时最后时间


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getLocker_id() {
        return locker_id;
    }

    public void setLocker_id(int locker_id) {
        this.locker_id = locker_id;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public int getStatus_id() {
        return status_id;
    }

    public void setStatus_id(int status_id) {
        this.status_id = status_id;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStaff() {
        return staff;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }

    public String getOtherIfo() {
        return otherIfo;
    }

    public void setOtherIfo(String otherIfo) {
        this.otherIfo = otherIfo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getYun_num() {
        return yun_num;
    }

    public void setYun_num(String yun_num) {
        this.yun_num = yun_num;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public int getBoxtype() {
        return boxtype;
    }

    public void setBoxtype(int bioxtype) {
        this.boxtype = bioxtype;
    }

    public String getOuttime() {
        return outtime;
    }

    public void setOuttime(String outtime) {
        this.outtime = outtime;
    }


    @Override
    public String toString() {
        return "Box_data{" +
                "id='" + id + '\'' +
                ", locker_id=" + locker_id +
                ", place='" + place + '\'' +
                ", status_id=" + status_id +
                ", code=" + code +
                ", phone='" + phone + '\'' +
                ", staff='" + staff + '\'' +
                ", otherIfo='" + otherIfo + '\'' +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", yun_num='" + yun_num + '\'' +
                ", notice='" + notice + '\'' +
                ", boxtype=" + boxtype +
                ", outtime='" + outtime + '\'' +
                '}';
    }
}
